# 倒序字符串

def test(str1):
    res = ""
    for i in range(len(str1)):
        res = str1[i]+res
    print(res)

if __name__=='__main__':
    test("14sada245asdas")